// 放置所有的路由分发配置
const express = require('express');
const router = express.Router();

// 1.配置登录页面操作
router.get('/login', require('./user-router/login'));
// conlogin
// 2.登录操作
router.post('/conlogin', require('./user-router/conlogin'));
// 3.进入用户列表
router.get('/userlist', require('./user-router/userlist'));

// searchuser
router.get('/searchuser', require('./user-router/searchuser'));
// 删除用户
router.post('/deleteuser', require('./user-router/deleteuser'));

// deleteuser
module.exports = router;